@charset "utf-8";

.exhibition-box {
  max-width: 120rem;
  margin: 0 auto;

  padding: 2rem;
}

.exhibition-title {
  font-weight: bold;
  font-size: 2rem;
  color: #111111;
  text-align: center;
  margin-bottom: 2rem;
}

.exhibition-content {
  display: flex;
  gap: 2rem;

  padding: 2rem;
  border-radius: 0.5rem;
}

.exhibition-detail {
  flex-grow: 1;

  color: rgb(0, 0, 0);
  padding: 2rem;
  border-radius: 0.5rem;
}

.exhibition-trailer {
  width: 30%;

  padding: 2rem;
  border-radius: 0.5rem;
}

.exhibition-trailer-title {
  font-weight: bold;
  font-size: 1.625rem;
  color: #111111;
  margin-bottom: 1rem;
}

.exhibition-trailer-content {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.exhibition-trailer-content img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;

}

.exhibition-trailer-content-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 1.125rem;
  text-align: center;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.exhibition-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.exhibition-tab {
  font-weight: bold;
  font-size: 1.5rem;
  color: #CFC8B9;
  cursor: pointer;
  padding: 0.5rem 1rem;

  border-radius: 0.25rem;
  transition: background-color 0.3s ease;
}

.exhibition-tab.active,
.exhibition-tab:hover {
  color: #111;

}

.exhibition-article-item {
  margin-bottom: 2rem;
}

.exhibition-article-date {
  font-size: 1rem;
  color: #CFC8B9;
  margin-bottom: 0.5rem;
}

.exhibition-article-content h3 {
  margin: 0;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.exhibition-article-content p {
  padding: 50px;
  font-size: 1.2rem;
  line-height: 1.5;

}

@media (max-width: 768px) {
  .exhibition-content {
    flex-direction: column;
  }

  .exhibition-trailer {
    width: 100%;
  }
}

.exhibition-tab-content {
  position: relative;
  /* 创建新的包含块 */
}

.fixed-box {
  background-color: #CFC8B9;
  height: 100%;
  /* 使其高度适应内容 */
  width: 100%;
  /* 使其宽度适应内容 */
  position: absolute;
  /* 绝对定位 */
  top: 0;
  /* 使其与父元素顶部对齐 */
  left: 0;
  /* 使其与父元素左侧对齐 */
  z-index: -1;
  /* 确保其在内容后面 */
}

.exhibition-article-content {
  position: relative;
  /* 创建新的包含块 */
  padding: 20px;
  /* 添加内边距以确保内容不与背景重叠 */
}

.article-image1 {
  margin-left: 180px;
}

